/*
 *E6_23.cpp
 *Create by Administrator
 * 2017年1月22日
 * 上午10:23:47
 *
 * 这个是抄的答案
 */
#include <iostream>
#include <vector>
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::vector;
using std::begin;
using std::end;

void print(const int *pi) {
	if (pi)
		cout << *pi << endl;
}

void print(const char *p) {
	if (p)
		while (*p)
			cout << *p++;
	cout << endl;
}
void print(const int*beg, const int *end) {
	while (beg != end)
		cout << *beg++ << endl;
}

void print(const int ia[], size_t size) {
	for (size_t i = 0; i != size; ++i)
		cout << ia[i] << endl;
}

void print(int (&arr)[2]) {
	for (auto i : arr)
		cout << i << endl;
}

int main() {
	int i = 0, j[2] = { 0, 1 };
	char ch[5] = "pezy";

//	print(ch);
//	print(begin(j), end(j));
//	print(&i);
//	print(j, end(j) - begin(j));
    print(j);

	cout << " " << endl;
	return 0;
}
